raar.behaviour
Class RAAddStatement

java.lang.Object
  extended byraar.behaviour.RAAddStatement
All Implemented Interfaces:
RAStatement, java.io.Serializable

public class RAAddStatement
extends java.lang.Object
implements RAStatement

Models the RAAR ADD statement that can add an element to a list.

See Also:
Serialized Form

Constructor Summary
RAAddStatement(RAAbstractList list, RAAllowedInList toAdd)
           
 
Method Summary
 void execute()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RAAddStatement

public RAAddStatement(RAAbstractList list,
                      RAAllowedInList toAdd)
Method Detail

execute

public void execute()
             throws RAException
Specified by:
execute in interface RAStatement
Throws:
RAException